import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import axios from 'axios';
import 'element-ui/lib/theme-chalk/index.css';
import ExpressionHello from "./components/ExpressionHello.vue"; // 插值表达式
import "./assets/main.css";
Vue.prototype.http = axios;
Vue.use(ElementUI);
Vue.config.productionTip = false;

// 全局过滤器 字符串翻转
Vue.filter('reverse',(str) => {
    return str.split('').reverse().join('');
})

// 组件全局注册
Vue.component('ExpressionHello',ExpressionHello)


new Vue({
  render: h => h(App),
}).$mount('#app')




